import http from '@/service/http'
import type * as T from '@/types/api/index'
const logApi: T.ILogApi = {
  list(data) {
    return http.post('/PhotoLog/list', data)
  },
  newLog() {
    return http.post('/PhotoLog/getNewLog')
  },
  add(data) {
    return http.post('/PhotoLog/add', data)
  },
  getInfo(data) {
    return http.post('/PhotoLog/getLog', data)
  },
  dels(data) {
    return http.post('/PhotoLog/dels', data)
  }
}

export default logApi
